package aiball

class League {

	String name;
	String description;
	String password;
	UserAccount admin;
	
	
	
    static constraints = {
		name  size: 2..32, blank: false, matches: "[a-zA-Z_0-9]+", unique: true
		description size: 0..512
		password password: true
		admin blank: false, display: false
    }
}
